import Vue from "vue";
import FastClick from "fastclick";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "reset-css";
import "amfe-flexible";
import "./styles/reset.css";
import "./styles/common.css";
import "./icons";
import "./plugins/vant.js";
import echarts from "echarts";
import api from './api/index'
Vue.prototype.$echarts = echarts;
FastClick.attach(document.body);

Vue.config.productionTip = false;
Vue.config.ignoredElements = [
  // 忽略自定义元素标签抛出的报错
  "wx-open-subscribe"
];
Vue.prototype.$api = api;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
